package com.xinpu.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;

/**
 * <p>
 * 名片样式表
 * </p>
 *
 * @author ayuan
 * @since 2021-04-21
 */
public class TCardStyle extends Model<TCardStyle> {

    private static final long serialVersionUID = 1L;

    /**
     * 编号
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 图片一
     */
    private String imgOne;

    /**
     * 图片二
     */
    private String imgTwo;

    /**
     * 图片三
     */
    private String imgThree;

    /**
     * 背景
     */
    private Integer backId;

    /**
     * name
     */
    private String name;

    /**
     * 租户编号
     */
    private String tenantId;


    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getImgOne() {
        return imgOne;
    }

    public void setImgOne(String imgOne) {
        this.imgOne = imgOne;
    }

    public String getImgTwo() {
        return imgTwo;
    }

    public void setImgTwo(String imgTwo) {
        this.imgTwo = imgTwo;
    }

    public String getImgThree() {
        return imgThree;
    }

    public void setImgThree(String imgThree) {
        this.imgThree = imgThree;
    }

    public Integer getBackId() {
        return backId;
    }

    public void setBackId(Integer backId) {
        this.backId = backId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getTenantId() {
        return tenantId;
    }

    public void setTenantId(String tenantId) {
        this.tenantId = tenantId;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "TCardStyle{" +
        "id=" + id +
        ", imgOne=" + imgOne +
        ", imgTwo=" + imgTwo +
        ", imgThree=" + imgThree +
        ", backId=" + backId +
        ", name=" + name +
        ", tenantId=" + tenantId +
        "}";
    }
}
